package com.jemmyee.pizza.web.bean;

import java.util.Date;

import com.jemmyee.core.utils.DateUtils;

/**
 * @Description: 日志查询的查询条件封装
 * @author:jemmyee@gmail.com
 * @date:2010-12-6
 * @version:v1.0
 */
public class LogBean {
	private Integer type;
	private String mac;
	private Date startTime; //开始时间
	private Date endTime;//结束时间

	
	private String strStartDate;//日期字符串，主要便于查询时候页面显示
	private String strEndDate;
	

	
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getMac() {
		return mac;
	}
	public void setMac(String mac) {
		this.mac = mac;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public String getStrStartDate() {
		return DateUtils.parseDateToString(getStartTime());
	}
	public void setStrStartDate(String strStartDate) {
		this.strStartDate = strStartDate;
	}
	public String getStrEndDate() {
		return DateUtils.parseDateToString(getEndTime());
	}
	public void setStrEndDate(String strEndDate) {
		this.strEndDate = strEndDate;
	}
	
}
